home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetWordSpace.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  759b  |  28 lines

  1. /*
  2.  *--- PGetWordSpace.cpp ---------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetWordSpace.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetWordSpace.h"
  12. #include "PQuery.h"
  13. #include "PReplyBuf.h"
  14.  
  15. const size_t REPLY_SIZE = 6;        // three short
  16.  
  17. PGetWordSpace::PGetWordSpace()
  18. {
  19.     char temp[REPLY_SIZE];
  20.     
  21.     PQuery query(pm_getwordspace, temp, REPLY_SIZE);
  22.     PReplyBuf reply(temp);
  23.     
  24.     reply >> dWordMin >> dWordDesired >> dWordMax;
  25. }
  26.  
  27. // end of PGetWordSpace.cpp
  28.